<?php if (!defined('THINK_PATH')) exit();?><!doctype html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <link rel="stylesheet" href="/public/statics/css/swiper.min.css"/>
    <link rel="stylesheet" href="/public/statics/css/common.css"/>
    <link rel="stylesheet" href="/public/statics/css/css.css"/>
    <script src="/public/statics/js/jquery.min.js"></script>
    <script src="/public/statics/js/swiper.jquery.min.js"></script>
    <!--下面紧接title start-->
    <title>资讯</title>
<!--上面紧接title end-->
</head>
<body>
<!--header-->
<header>
    <div class="header_top main">
        <a href="<?php echo U('Index/index');?>"><img class="header_logo" src="/public/statics/images/logo.png" width="135" height="30" alt=""/></a>
       <div class="header_slogan"> 一图一创新，一图一世界</div>
        <div class="header_search"><input class="text" type="text" placeholder="搜多关键字"/><input class="ser_btn" type="button" value="搜索"/></div>

        <?php if(session("tel")){ ?>

            <div class="header_my">
                <a class="photo" href="<?php echo U('My/index');?>"><img src="/public/statics/images/photo.png" alt=""/></a>
                <a class="msg" href="<?php echo U('My/msg');?>"><img src="/public/statics/images/xx.png" alt=""/></a>
                <a href="<?php echo U('Register/loginOut');?>" style="background: none; padding:0; font-size: 12px;">退出</a>
            </div>

        <?php }else{ ?>

            <div class="header_login"><a href="<?php echo U('Register/login');?>">登录</a>&nbsp;&nbsp;|&nbsp;&nbsp;<a href="<?php echo U('Register/register');?>">注册</a></div>

        <?php } ?>

    </div>
    <div class="header_nav">
        <div class="main">
            <a href="<?php echo U('Index/index');?>" class="<?php if($nav == 1){echo 'on';} ?>">首页</a>
            <a href="<?php echo U('Index/hot');?>" class="<?php if($nav == 2){echo 'on';} ?> pr">热门 <img class="nav_hot" src="/public/statics/images/hot.png" width="37" height="17" alt=""/></a>
            <a href="<?php echo U('Index/info');?>" class="<?php if($nav == 3){echo 'on';} ?>">资讯</a>
            <a href="<?php echo U('Index/tech');?>" class="<?php if($nav == 4){echo 'on';} ?>">科技</a>
            <a href="<?php echo U('Index/life');?>" class="<?php if($nav == 5){echo 'on';} ?>">生活</a>
            <a href="<?php echo U('Index/fund');?>" class="<?php if($nav == 6){echo 'on';} ?>">基金</a>
            <a href="<?php echo U('Index/tel');?>" class="<?php if($nav == 7){echo 'on';} ?>">联系我们</a>
        </div>
    </div>
</header>
<!--header end-->
<!--header end-->
<div class="info_tap">
    <div class="main oh">
        <span class="on">图片</span>
        <span>军事</span>
        <span>娱乐</span>
        <span>汽车</span>
        <span>房产</span>
        <span>科技</span>
        <span>财经</span>
        <span>娱乐</span>
        <span>汽车</span>
        <span>房产</span>
        <span>科技</span>
    </div>
</div>
<div class="oh main">
    <div class="info_left fl">
        <div class="info_cont pt20">
            <div class="info_cont_mode">
                <div class="img">
                    <img src="/public/statics/images/img13.jpg" alt=""/>
                </div>
                <div class="txt">
                    <p class="tit">王者荣耀：天美开始重视小学生了，要为他们改版游戏了</p>
                    <p class="zanmsg">
                        <span class="zan">132</span>
                        <span class="msg">156</span>
                    </p>
                    <p class="time">2017-02-05 15:32</p>
                </div>
            </div>
            <div class="info_cont_mode">
                <div class="img mp4">
                    <div class="ms">0.89</div>
                    <img class="play_btn" src="/public/statics/images/play_btn.png" alt=""/>
                    <img src="/public/statics/images/img13.jpg" alt=""/>
                </div>
                <div class="txt">
                    <p class="tit">王者荣耀：天美开始重视小学生了，要为他们改版游戏了</p>
                    <p class="zanmsg">
                        <span class="zan">132</span>
                        <span class="msg">156</span>
                    </p>
                    <p class="time">2017-02-05 15:32</p>
                </div>
            </div>
            <div class="info_cont_mode">
                <div class="img">
                    <img src="/public/statics/images/img13.jpg" alt=""/>
                </div>
                <div class="txt">
                    <p class="tit">王者荣耀：天美开始重视小学生了，要为他们改版游戏了</p>
                    <p class="zanmsg">
                        <span class="zan">132</span>
                        <span class="msg">156</span>
                    </p>
                    <p class="time">2017-02-05 15:32</p>
                </div>
            </div>
        </div>
        <!--翻页-->
        <div class="ats_page">
            <a href="javascript:;" class="on">1</a>
            <a href="javascript:;">2</a>
            <a href="javascript:;" class="next"><i>next</i></a>
        </div>
    </div>
    <div class="info_right fr">
        <h2>要闻推荐</h2>
        <div class="info_tj">
            <div class="info_tj_mode ">
                <img src="/public/statics/images/img15.jpg" alt=""/>
                <p class="txt ellipsis2">昨天腾讯损失1000个亿，为什么说和小学生有关呢</p>
                <p class="ci">456次播放</p>
            </div>
            <div class="info_tj_mode ">
                <img src="/public/statics/images/img16.jpg" alt=""/>
                <p class="txt ellipsis2">昨天腾讯损失1000个亿，为什么说和小学生有关呢</p>
                <p class="ci">456次播放</p>
            </div>
            <div class="info_tj_mode ">
                <img src="/public/statics/images/img15.jpg" alt=""/>
                <p class="txt ellipsis2">昨天腾讯损失1000个亿，为什么说和小学生有关呢</p>
                <p class="ci">456次播放</p>
            </div>
            <div class="info_tj_mode ">
                <img src="/public/statics/images/img16.jpg" alt=""/>
                <p class="txt ellipsis2">昨天腾讯损失1000个亿，为什么说和小学生有关呢</p>
                <p class="ci">456次播放</p>
            </div>
        </div>
    </div>
</div>

<!--footer-->
<!--footer-->
<footer>
    <div class="main pr">
        <div class="saoDown">
            <div class="saoMa"><img src="/public/statics/images/ma.png" width="150" height="151" alt=""/></div>
            <div class="saotxt tc">[扫描下载APP]</div>
        </div>
        <div class="fot_top oh">
            <div class="fot_left f12 fl">
                <h2 class="f16 pb20">联系我们</h2>
                <p><span>电话：</span>400-88888888</p>
                <p><span>传真：</span>022-8888888</p>
                <p><span>邮箱：</span>service@tu.com</p>
            </div>
            <div class="fot_right fl">
                <h2 class="f16 pb10">关于我们</h2>
                <div class="fot_block f12">
                    <div style="padding-left: 22px; padding-top: 16px;">
                        <span style="color: #ee1c25;">一图一创新,一图一世界。</span>用户上传自己的创新案例,或分享发现的创新案例,并有良好的交互。<br />
                        碎片时代,全图片模式,较少阅读量;<br />
                        让眼球凝聚创新,让时间实现价值;<br />
                        每月每年会评选优秀创新奖,并发放奖励;
                    </div>
                </div>
            </div>
        </div>
        <div class="fot_bot f12">Copyright©2011-2017 tu365.com All Rights Reserved  版权所有∙ 天津创新世界有限公司</div>
    </div>
</footer>
<!--footer end-->
<script>
$(".art_length").each(function(){
    var txt = $(this).text();
    var len = txt.length;
    if(len>106){
        $(this).text(txt.substr(0,106));
        $(this).data("alls",txt);
        $(this).siblings(".zkbtn").show()
    }
});
$(".zkbtn").click(function(){
    var alls = $(this).siblings(".art_length").data("alls");
    $(this).siblings(".art_length").text(alls);
    $(this).hide();
})

</script>
</body>
</html>